#pragma once
#include "../PocelainType.h"
#include "BufferGeometry.h"
#include <cmath>
POCELAIN_NAMESPACE_BEGIN
class CylinderGeometry : public BufferGeometry
{
public:
    CylinderGeometry(Real radiusTop = 1,Real radiusBottom = 1,Real height = 1,uint32_t radialSegments = 32,uint32_t heightSegments = 1,Real openEnded = false,Real thetaStart = 0,Real thetaLength = MathUtils::PI * 2 );

protected:
    Real radiusTop;
    Real radiusBottom;
    Real height;
    uint32_t radialSegments;
    uint32_t heightSegments;
    bool openEnded;
    Real thetaStart;
    Real thetaLength;
};

POCELAIN_NAMESPACE_END
